package tech.wetech.admin.modules.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.wetech.admin.modules.base.service.impl.BaseService;
import tech.wetech.admin.modules.system.mapper.AndroidListMapper;
import tech.wetech.admin.modules.system.po.AndroidList;
import tech.wetech.admin.modules.system.service.AndroidListService;

import java.util.Date;

/**
 * @author lu
 * @description
 * @date 2019年08月09日 10:15
 */
@Service
public class AndroidListServiceImpl extends BaseService<AndroidList> implements AndroidListService {

    @Autowired
    private AndroidListMapper androidListMapper;

    @Override
    public void createAndroidList(AndroidList androidList) {
        Date date=new Date();
        androidList.setAccessTime(date);
        androidList.setCreateTime(date);
        androidListMapper.insertSelective(androidList);
    }
}
